package com.kfm.base.member;

import com.kfm.base.movie.Student;

public class Demo02 {

    public static Student stu;

    public static void main(String[] args) {
        Demo02 demo02 = new Demo02();
        Demo02 demo03 = new Demo02();
        Demo02 demo04 = new Demo02();

        demo02.stu = new Student("张三", 20);


        System.out.println(demo02.stu);
        System.out.println(demo03.stu);
        System.out.println(demo04.stu);

        System.out.println(demo02.stu == demo03.stu);
        System.out.println(demo02.stu == demo04.stu);
    }
}
